<template>
  <div>
    <div>
      <a-statistic title="总分" :value="totalScore" style="margin-right: 50px">
      </a-statistic>
    </div>

    <div v-if="showRanked" style="margin-top: 30px" >
      <a-statistic title="部门排名" :value="getOrgRanked" style="margin-right: 50px">
      </a-statistic>
    </div>
  </div>
</template>

<script>

export default {
  name: 'BaseResultTotalScoreV1',
  components: {

  },
  props: {
    totalScore: {
      type: String,
      required: true
    },
    orgRanked: {
      type: String,
      required: false
    },
    orgTeacherCount:{
      type: String,
      required: false
    },
    showRanked:{
      type:Boolean,
      required: false,
      default: true
    }
  },
  data() {
    return {
    }
  },
  mounted() {

  },
  computed: {
    getOrgRanked(){
      return this.orgRanked + "/" + this.orgTeacherCount
    }
  },
  methods: {

  }
}
</script>
<style scop>

</style>